import {createRouter, createWebHashHistory} from 'vue-router';
import layout from '@/view/layout/index.vue'

const router = createRouter({
  history:createWebHashHistory(),
  routes:[
    {
      path:'/',
      component:layout
    },
    {
      path:'/login',
      component: ()=> import ('@/view/login/index.vue')
    }
  ]
})

export default router